//
//  VSFindClothesPushViewController.m
//  UI项目2.0
//
//  Created by dlios on 15/7/16.
//  Copyright (c) 2015年 星际科技. All rights reserved.
//

#import "VSFindClothesPushViewController.h"

@interface VSFindClothesPushViewController () <UIWebViewDelegate>

@end

@implementation VSFindClothesPushViewController

- (void)dealloc
{
    [_url release];
    [super dealloc];
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc]initWithImage:[UIImage imageNamed:@"iconfont-zuofanhuijiantou.png"] style:UIBarButtonItemStylePlain target:self action:@selector(ClothesbackAction)];
    [self getDataaa];
}

- (void)ClothesbackAction
{
    [self.navigationController popViewControllerAnimated:YES];
   
}

- (void)getDataaa
{
    UIWebView *WebView = [[[UIWebView alloc]initWithFrame:self.view.bounds] autorelease];
    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:self.url]];
    WebView.delegate = self;
    [WebView loadRequest:request];
    [self.view addSubview:WebView];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
